import Vue from 'vue'
import App from './App.vue'
// 在main.js引入就称为全局引入
// @相当于src目录
import '@/styles/reset.less'

import {
    Toast,
    Button
} from 'vant'
Vue.use(Toast)
    .use(Button)
// 引入路由模块
import router from '@/router/index.js'

Vue.config.productionTip = false

new Vue({
    router,
    render: h => h(App),
}).$mount('#app')